@import '@a/scss/base.scss';

.show {
  transition: .8s;
  opacity: var(--poster-opacity);
}

.poster {
  margin-bottom: 20px;
  height: 60vh;
  overflow: hidden;
  position: relative;

  box-shadow: 3px 0px 10px #333;

  color: white;
  text-shadow: 5px 3px 10px#333;
  .top {
    margin: 0;
    padding: 0;
    width: 100%;
    position: absolute;
    bottom: -300px;
    z-index: -100;
  }
  #posterMenu {
    min-width: 10px;
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    flex-flow: reverse;
    font-size: 22px;
    z-index: 100;
  
    color: white;
    text-shadow: 5px 3px 10px#333;
  
    span {
      position: relative;
      display: inline-block;
      margin: 0 10px;
      padding: 0 0 10px 0;
      min-width: 80px;
      opacity: 1;
      cursor: pointer;
      
      text-align: center;
      font-size: 18px;
  
      transition: .8s;
  
      &:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 20%;
        transform: translateX(-51%);
        height: 3px;
        width: 0;
        background-color: rgba(255, 255, 255, 0.733);
        opacity: 0;
  
        transition: .5S;
      }
    }
  
    span:hover, .active {
      &:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-51%);
        height: 3px;
        width: 20px;
        background-color: rgba(255, 255, 255, 0.733);
        opacity: 1;
      }
    }
  }
  .logo {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-family: 'Microsoft YaHei UI' 'yahei';

    .en {
      font-size: 6em;
    }
    .zh {
      font-size: 100px;
      line-height: 0px;
    }
  }
  .search {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.menuBox {
  height: 65px;
  width: 100vw;
  // background-image: linear-gradient(180deg,#0000009a,rgba(255, 255, 255, 0));
  background-color: #ffffff;
  position: fixed;
  top: 0;
  z-index: 99;
  border-bottom: #888 solid 1px;
  opacity: var(--menuBox-opacity);
  transition: .5s;

  .menu {
    line-height: 65px;
    margin: 10px;
    display: inline;

    span {
      color: #555;
      font-size: 18px;
      padding: 10px;

      &:hover {
        color: $hover-color;
        cursor: pointer;
      }
    }
  }
  .boxTitle {
    position: absolute;
    left: 50%;
    transform: translate(-50%);

    // font-family: 'Lora' 'Montserrat';
    font-weight: 100;
    line-height: 65px;
    font-size: 34px;
    color: rgb(0, 0, 0);
  }

  .search {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.slide-fade-enter-active {
  transition: all .8s ease-in;
}
.slide-fade-leave-active {
  transition: all .8s ease-in;
}
.slide-fade-enter {
  filter: opacity(0);
  // filter: blur(5px) opacity(0.5);
  // transform: translateX(-100vw);
}
.slide-fade-leave-to {
  filter: opacity(0);
  // filter: blur(5px) opacity(0.5);
  // transform: translateX(100vw);
}